﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Text;

namespace XKPlatform.DataModels.ReturnModel
{
    /// <summary>
    /// 认证中心拿到的权限数据
    /// </summary>
    public class AuthenReturn
    {
        public string id { get; set; }
        public string Name { get; set; }
    }


    /// <summary>
    /// 请求的AccessToken
    /// </summary>
    public class checkModel
    {
        public string strAccessToken { get; set; }
    }

    /// <summary>
    /// 用AccessToken请求接口的返回类型
    /// </summary>
    public class AuthenModel
    {
        public string ErrCode { get; set; }
        public string Message { get; set; }
        public string sTotal { get; set; }

        public AuthenCheckModel Data { get; set; }
        public List<AuthenCheckModel> List { get; set; }
    }

    public class AuthenCheckModel
    {
        public string UserID { get; set; }
        public string LoginAccount { get; set; }
        public string Email { get; set; }
        public string ChineseName { get; set; }
        public string TelPhone { get; set; }
        public string AccessToken { get; set; }
        public string ExpiryTime { get; set; }
    }

    /// <summary>
    /// 给认证中心返回的格式
    /// </summary>
    public class ResultModel
    {
        public string errCode { get; set; }
        public string message { get; set; }
        public string sTotal { get; set; }

        public JObject data { get; set; }
        public JArray list { get; set; }

    }
}
